from rest_framework import serializers
from home import models
class NavSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Nav
        fields = '__all__'
class BannerSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Banner
        fields = '__all__'